const koa   = require('koa'),
      mount = require('koa-mount'),
      user  = require('./user'),
      menu  = require('./menu');

const app = koa();

app.use(mount('/user', user))
    .use(mount('/menu', menu));

app.listen(3000);
